<div id="access" role="navigation">
	<ul>
		<li class="page_item"><a href="{$url}admin/">Home</a></li>
		{loop="main_module"}
		<li class="page_item"><a href="{$value.link}/">{$value.title}</a>
			<ul class='children'>
			{loop="sub_module"}
				{if="$value2.module==$value1.module"}
					<li class="page_item"><a href="{$value2.link}">{$value2.title}</a></li>
				{/if}
			{/loop}
			</ul>
		</li>
		{/loop}
		<li style = "float:right"><a href="{$url}admin/logout.php">Logout</a></li>
	</ul>
</div>

<div class = "clear"></div>

{if="$dsfm_nav != ''"}
	<div class = "nav">
	{loop="dsfm_nav"}
		{if="$value == '#'"}
			<a href = "#">{$key}</a> >
		{else}
			<a href = "{$url}admin/{$value}">{$key}</a> >
		{/if}
	{/loop}
	</div>
{/if}

<div class = "clear"></div>